<template>
  <div>
    <van-button
      :type="$attrs.type"
      :round="$attrs.round"
      :plain="$attrs.plain"
      :size="$attrs.size=='medium'?'normal':$attrs.size"
      :style="newStyle"
      :disabled="$attrs.disabled"
      @click="onClick"
    >
      <template #icon v-if="$attrs.icon">
        <i :class="$attrs.icon"></i>
      </template>
      {{$attrs.value}}
    </van-button>
  </div>
</template>

<script>
import { comMixin } from "../../../utils/comMixins";
export default {
  mixins: [comMixin],
  name: "phone-form-button",
  props: {
    __slot__: {
      type: Object,
      default: () => {},
    },
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
</style>